package com.neusoft.elmboot.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orders {

	private Integer orderId;
	private String userId;
	
	//多对一
	private Business business;
	//一对多
	private List<OrderDetailet> list;
	
	private String businessId;
	private String orderDate;
	private Double orderTotal;
	private Integer daId;
	private Integer orderState;
	private Integer couponId;
	private Double discountAmount;
	private Double couponDiscountAmount;
	private Double levelDiscountAmount;
	private Double finalTotal;
	
	// 支付方式：wallet / wechat / alipay
	private String paymentType;
	// 退款状态：0无，1申请中，2已退款，3已拒绝
	private Integer refundStatus;
	// 退款原因
	private String refundReason;
	// 退款完成时间
	private String refundTime;
	
}
